package com.song.fx;

import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.Label;

/**
 * Created by 宋冲 on 15/5/3.
 * chong.song@alibaba-inc.com
 */
public class FXController {
    @FXML
    private Label buttonStatusText;

    @FXML
    protected void handleSubmitButtonAction(ActionEvent event) {
        buttonStatusText.setText("Submitbutton pressed");
    }

    @FXML
    protected void handlePasswordFieldAction(ActionEvent event) {
        buttonStatusText.setText("Enterkey pressed");
    }
}
